package com.imot.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.imot.pojo.entity.MeasurementDetails;
import com.imot.pojo.entity.MeasurementInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.util.List;

/**
 * ClassName: UpdateMeasurementDto
 * Description:
 * date: 2023/11/19 14:05
 *
 * @author imot-jiah.wang
 */
@Data
public class UpdateMeasurementDto {
    @NonNull
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "计量项目名称")
    private String measurementName;

    @ApiModelProperty(value = "计量编号")
    private String measurementNumber;

    @ApiModelProperty(value = "计量状态")
    private String measurementStatus;

    @ApiModelProperty(value = "计量周期（单位：天）")
    private Integer measurementCycle;

    @ApiModelProperty(value = "计量提醒")
    private Integer reminderDate;

    @ApiModelProperty(value = "责任人员id")
    private Integer userId;

    @ApiModelProperty("计量信息集合")
    private List<UpdateMeasurementDetailDto> updateMeasurementDetailDtoList;

    @ApiModelProperty("删除的计量信息id集合")
    private List<Integer> deleteMeasurementDetailIds;
}

